import { createContext, useContext } from "solid-js";

export interface ConfigContextProps {
  logging?: boolean;
}

export const ConfigContext = createContext<ConfigContextProps>({
  logging: false,
});

export const useConfigContext = () => useContext(ConfigContext);
